package com.ywd.materials.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ywd.materials.admin.common.Common;
import com.ywd.materials.admin.common.CommonGoodsType;
import com.ywd.materials.admin.common.CommonGoodsTypeOne;
import com.ywd.materials.admin.common.CommonGoodsTypeTwo;
import com.ywd.materials.admin.entity.MaterialsGoodsTypeEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:lk
 * @Date: 2025/11/13  00:22
 */
@Mapper
public interface MaterialsGoodsTypeMapper extends BaseMapper<MaterialsGoodsTypeEntity> {

    List<Common> getGoodsTypePartList(@Param("name") String name);

    List<CommonGoodsType> getGoodsTypePartOneList(@Param("name") String name);

    List<CommonGoodsTypeOne> getTypeOnes(@Param("type") String type,@Param("name") String name);

    List<CommonGoodsTypeTwo> getTypeTwos(@Param("type") String type,@Param("name") String name);
}
